package com.ysoo.demo2.controller;

import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller
@RequestMapping("/ysoo")
public class TestController extends SpringBootServletInitializer {

    @RequestMapping("/index")
    public String index() {
        return "index";
    }

    @RequestMapping("/tree")
    public String tree() {
        return "tree";
    }

}
